package lianxi;

import java.util.LinkedList;
import java.util.List;

public class linklist {
    public static void main(String[] args) {
        List<String> s = new LinkedList<>();
        s.add(0,"aa");
        s.add(1,"aab");
        s.add(2,"s");
        s.add(3,"aad");
        s.add(4,"aadg");
        System.out.println(s);

    }
}
